home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / netmail / gigo0524.zip / USERS.CFG < prev   
Text File  |  1994-05-24  |  13KB  |  265 lines

  1. ;  MAPSTYLE - Mapping style for default outbound email.  Gigo supports
  2. ;  practically any style of generating addresses now, as it is completely
  3. ;  definable by you, the admin.
  4.  
  5. ;  If the message is being launched from the gateway itself, then no
  6. ;  "othersite" should be evident in the outbound headers.  See "SITE local"
  7. ;  command below.
  8.  
  9. ;  EDIT THIS TO MATCH __YOUR__ SITE
  10. ;
  11. ;  *user   translates to the current user.name
  12. ;  *site   translates to the current SITE parameter
  13. ;  *mysite translates to the current MYSITE variable
  14. ;  *domain translates to the current DOMAIN variable
  15. ;  *myfeed translates to the current MYFEED variable
  16. ;  *fnz    translates to .f##.n##.z## (ie, *user@*fnz.fidonet.org)
  17. ;  *ftn    translates to ##-##-##-## (may have fewer #'s; this
  18. ;           variable is an alternative to *fnz, using fewer periods
  19. ;           and (usually) a shorter string.  The number of ##'s will
  20. ;           vary from 1 to 4 (ie, 203-7707 is enough to say net 203,
  21. ;           node 7707, in my zone).
  22. ;
  23. ;
  24. ;  You MUST define MAPSTYLELOCAL and MAPSTYLESITE; MAPSTYLEUNDEF is optional,
  25. ;  and defaults to a standard fidonet style address.
  26. ;
  27. ;  You may use any of the above variables; most importantly, *user
  28. ;  and *site.  Anything else can be filled in by you with specific
  29. ;  text, and may use the above variables if you wish.
  30.  
  31. MAPSTYLELOCAL     *user@*mysite.*domain         ; Used with SITE LOCAL statements
  32. MAPSTYLESITE      *user@*site.*mysite.*domain   ; Used with other SITE statements
  33. MAPSTYLEUNDEF     *user@*fnz.fidonet.org        ; Used when no SITE statement or bounced site
  34.  
  35. ; Other examples:
  36. ; MAPSTYLELOCAL   *user@wmeonlin.sacbbx.com
  37. ; MAPSTYLESITE    *user@*site.wmeonlin.sacbbx.com
  38. ;
  39. ; MAPSTYLELOCAL  vogon1!frackit!mdtn_bbs!*user@psuvax.psu.edu
  40. ; MAPSTYLESITE   vogon1!frackit!mdtn_bbs!*site!*user@psuvax.psu.edu
  41.  
  42.  
  43.  
  44.  
  45. ; Here's the guts of the name and account translations done by the gateway.
  46. ; There are _several_ different ways of handling USER and SITE statements;
  47. ; my attempts at expressing documentation are poor, so instead we will have
  48. ; examples of everything.
  49.  
  50. ; Remember that this example config file is for "swizzle.com".
  51.  
  52. ; Individual  accounts on your system are specified, with
  53. ; who their owner is and what their fidonet address is.
  54. ; They will appear as  "account@swizzle.com"
  55.  
  56. USER richard.bollar     1:125/110       Richard Bollar
  57. USER bollar             1:125/110       Richard Bollar
  58. USER root               1:125/110       Richard Bollar
  59. USER postmaster         1:125/110       Richard Bollar
  60. USER sysop              1:125/110       Richard Bollar
  61. USER d.j.hannah         1:125/110       D.J. Hannah
  62.  
  63. ; The following two examples are where the person does not exist on your
  64. ; BBS or gateway, but instead somewhere else.  You need to specify the
  65. ; entire address, __even_if_you_have_a_SITE_for_them_!.  GIGO takes the
  66. ; USER statements as priority over SITE statements.
  67.  
  68. USER jdoe@somebbs.swizzle.com    1:125/1234.0  John Doe
  69.  
  70. ; If someone starts abusing the gateawy, you can block them out.
  71. ; Note that the "bounce" statement is on the left hand side this time.
  72. ; When the gateway tries to create this user's email address, it will see
  73. ; that their account says "bounce", and will send them back a nasty-gram(tm).
  74.  
  75. USER bounce    1:2/3.4       User Name
  76. USER bounce    1:203/7707.1  Twit
  77.  
  78. ; GIGO has a built-in mail-daemon that can perform various functions,
  79. ; such as send back a text file when triggered, or bounce mail back
  80. ; to the sender, or even forward the mail from one address to another.
  81.  
  82. USER info@swizzle.com  INFO  infofile.txt  ; Sends INFOFILE.TXT whenever
  83.                                            ; someone sends email to
  84.                                            ; info@swizzle.com
  85. USER dead2@swizzle.com BOUNCE              ; Bounces with generic message
  86. USER dead@swizzle.com  BOUNCE deaduser.txt ; Bounces the message back
  87.                                            ; with the "deaduser.txt" file
  88. SITE deadbbs           BOUNCE deadbbs.txt  ; Bounces messages to all users
  89.                                            ; @deadbbs.swizzle.com, and
  90.                                            ; sends the "deadbbs.txt" file
  91. USER jfesler FORWARD jfesler@wmeonlin.sacbbx.com ; Forwards to the real address
  92.  
  93.  
  94. ;  If you wish to capture the messages to a specific address, and have them
  95. ;  saved to a text file (or appended to a log file), you can use the USER
  96. ;  statements as such..
  97.  
  98. USER  incoming   SAVETEXT C:\incoming\   ; Saves as C:\incoming\*.in
  99. USER  logme      LOGTEXT  incoming.log   ; Appends to incoming.log
  100.  
  101.  
  102. ;  If you are willing to make your own hacks, interfacing with GIGO is easy.
  103. ;  GIGO supports function requests triggered upon email to a given user.
  104. ;  GIGO saves the entire message as FUNCTION.REQ, and runs your program
  105. ;  or batch file.  Upon return, if a file called FUNCTION.REP exists, 
  106. ;  it will be sent back to the party to sent you the email.
  107. ;  Samples:
  108. ;     USER  dir          FUNCTION dir c:\*.* /s >function.rep
  109. ;     USER  listserv     FUNCTION listserv.exe
  110. ;     USER  gigo-request FUNCTION listserv.exe s gigo
  111. ;     USER  kaboing      FUNCTION copy function.req function.rep
  112.  
  113.  
  114.  
  115. ; The mail-daemon can even attempt to catch fidonet-style names
  116. ; and give them email addresses.  For example, if someone sends a message
  117. ; to "Sysop" at your gateway's address, you can have it sent to
  118. ; your main account instead.
  119.  
  120. ; (My appologies to M.Butler for stealing this verb's name from FredGate)
  121. ; The usage may/may not be the same as FredGate's; since I don't have
  122. ; FredGate, I don't know for sure.
  123.  
  124. ; *******NOTE:  THIS ONLY AFFECTS FIDONET->USENET MAIL!!!!**********
  125.  
  126. ; Format:   MAPUF  internet-account  Real Name
  127. ;
  128. ; The internet account _must_ be the _full_ internet account name, even
  129. ; if it is going to your own gateway.
  130.  
  131. MAPUF  root@swizzle.com             Sysop  ; Mail sent to "sysop" is forward to root@swizzle.com
  132. MAPUF  jfesler@wmeonlin.sacbbx.com  Jason Fesler ; Mail sent to "Jason Fesler" is forwarded to..
  133. MAPUF  bugs@wmeonlin.sacbbx.com     Bugs
  134. MAPUF  jfesler@wmeonlin.sacbbx.com  Author
  135.  
  136. ; Ever get twits sending areafix messages to the gateway?  Try this..
  137.  
  138. MAPUF  areafix@swizzle.com          Areafix       ; Turns it to a valid address
  139. USER   areafix@swizzle.com  BOUNCE  wrongadr.txt  ; and then the daemon can catch
  140.                                                   ; it, and send the user back a
  141.  
  142. ;  Some mail packers will pack file attach messages from Arcmail to the
  143. ;  gateway.  While I don't have a way to stop this from happening, you
  144. ;  _can_ add these into your config:
  145.  
  146. USER  arcmail foward null ; Any bounced messages back to Arcmail are disposed of.
  147.  
  148.  
  149. ; Whew!  That's a lot you can do with mostly USER statements!
  150.  
  151. ; Now, you've got this great gateway program setup, and you'd like to
  152. ; allow some/most/everyone access to using the gateway.  However, you
  153. ; don't feel like manually putting everybody in... That gets to be VERY
  154. ; tedious.
  155.  
  156. ; The SITE statements allow you to handle entire BBS's at a time,
  157. ; by defining them as a feed off of you (at least, as far as the internet
  158. ; is concerned).  Or, it will allow you to generate the "standard"
  159. ; fidonet style addresses (for example, jason.fesler@f7707.n203.z1.fidonet.org)
  160. ; Alternately, you can deny access for specific sites altogether.
  161. ;
  162. ; Most important, you have to tell the gateway what YOUR address(s) are.
  163. ; They are not always the same as you had them defined at the top of the
  164. ; config file, and sometimes you may have more than one address (multiline
  165. ; hubs, etc).
  166.  
  167. ; The SITE LOCAL  <fido-address>  command tells the gateway that if someone
  168. ; on your BBS posts a message, but they do not have a specific account name
  169. ; setup, then GIGO should create an address like "user.name@swizzle.com"
  170. ; or "user.name@yoursite.domain".  (Uses MAPSTYLELOCAL template to define)
  171.  
  172. SITE LOCAL  1:125/110
  173.  
  174. ; For the author, who runs a two-line system, the following is appropriate.
  175. ; All of his fidonet addresses are considered to be the "local" bbs.
  176.  
  177. ; SITE LOCAL 1:203/7707
  178. ; SITE LOCAL 1:203/8055
  179. ; SITE LOCAL 1:1/141
  180.  
  181. ; Now, you can define the BBS's that are local to you.  Email addresses
  182. ; that are generate automaticly will look like
  183. ; "user.name@bbsname.yoursite.domain" (or something similiar, depending
  184. ; on how you configured MAPSTYLESITE).  All of the users for a given BBS
  185. ; are defined at once with the single statement.
  186. ;
  187. ; Note that if the user has a USER statement in this config file, that will
  188. ; take priority, and the SITE statements will not even be looked at.
  189.  
  190. SITE joesbbs 1:125/1      ; user.name@joesbbs.swizzle.com
  191. SITE nc      1:125/0      ; user.name@nc.swizzle.com
  192. SITE mypoint 1:125/110.1  ; user.name@mypoint.swizzle.com
  193. SITE somewhr 1:125/120    ; user.name@somewhr.swizzle.com
  194.  
  195. ; You can deny a BBS by giving it the name "bounce".
  196.  
  197. SITE bounce  1:203/7707.1 ; This stops Jason Fesler's point address.
  198. SITE bounce  1:125/9999   ; This stops "test" nodes using 1:125/9999
  199.  
  200. ;  If you wish to be a public gateway for your local area, but you can not
  201. ;  get approval (or don't wish to) to become part of the .fidonet.org
  202. ;  distribution people (those are the ones that are allowed to fly the
  203. ;  GUUCP flag in the nodelist), GIGO has an option for you.
  204.  
  205. ;  SITE GATEWAY <fidonet-wildcard-address>
  206.  
  207. ;  This option will generate email messages that automaticly use YOUR site's
  208. ;  address, with a numeric "bbs name" that the gateway can understand.  This
  209. ;  forces any return mail going back to that user to go via your gateway,
  210. ;  which is (probably) faster than using the "standard" fidonet address.
  211.  
  212. SITE gateway 1:125/*.*   ;  Either of these statements are equivalent
  213. ;SITE *ftn    1:125/*.*  ;  (and in fact, SITE GATEWAY translates to *ftn)
  214.  
  215. ;  With this statement, if Joe Blow at 1:125/1234 posts a message, his
  216. ;  email address will be Joe.Blow@1234.swizzle.com.
  217.  
  218. ;  If Joe Blow posts from 1:125/1234.5, then his email address will be
  219. ;  Joe.Blow@125-1234-5.swizzle.com .
  220.  
  221. ;  It looks confusing, but it's simpler than it looks.  The gateway includes
  222. ;  just enough information in the numeric portion of the address to figure
  223. ;  out where to send it back to if it needs to.
  224. ;       Nodes in your net:    user.name@<node>.swizzle.com
  225. ;       Nodes outside....:    user.name@<net>-<node>.swizzle.com
  226. ;       Points           :    user.name@<net>-<node>-<point>.swizzle.com
  227. ;       Outsize your zone:    user.name@<zone>-<net>-<node>-<point>.swizzle.com
  228. ;
  229. ;  You may specify multiple SITE GATEWAY .. statements if you wish to
  230. ;  use this addressing style for more than one group of people.
  231. ;  The Net 203 Gateway (wmeonlin.sacbbx.com) uses this format for
  232. ;  the entire Northern California (USA) region, since I can deliver the mail
  233. ;  faster than using the "standard" fidonet address.
  234.  
  235.  
  236. ; The next statement is to allow gating, but using the "standard" fidonet
  237. ; address.  Use this for people that are outside of the area that you are
  238. ; normally willing to gate for.
  239. ;
  240. ; Note that we can specify the actual .fidonet.org name, or specify
  241. ; an alternate name ( rbbsnet.org ? etc ).  Note that the SITE fidonet keyword
  242. ; implies the fidonet STYLE that has been used for many years...
  243.  
  244. SITE fidonet  1:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 1:*/*
  245. SITE fidonet  2:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 2:*/*
  246. SITE fidonet  3:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 3:*/*
  247. SITE fidonet  4:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 4:*/*
  248. SITE fidonet  5:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 5:*/*
  249. SITE fidonet  6:*/*.*  fidonet.org ; can also use SITE *user@*fnz.fidonet.org 6:*/*
  250. SITE fidonet  8:*/*.*  special.org ; can also use SITE *user@*fnz.special.org 6:*/*
  251.  
  252. ; Last, but not least, the final statement.  This is to bounce any
  253. ; remaining addresses, telling them that they are not authorizid
  254. ; to use the gateway.  I only move mail for FidoNet; no other zones are
  255. ; allowed to go through me, as I can not guarantee that their mail can
  256. ; be returned back to them if needed.
  257.  
  258. SITE bounce  *:*/*.*      ; This declines allowing anyone else from sending
  259.                           ; email through your gateway.  If they attempt,
  260.                           ; or if they post in a newsgroup (not protected
  261.                           ; by this security!)  the MAPSTYLEUNDEF will be
  262.                           ; used to generate a temporary address for them.
  263.  
  264.  
  265.